package com.lijin.study.java.util;

import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;

import org.junit.Test;

public class PropertiesTest {

	@Test
	public void test1() throws Exception {
		Properties p = new Properties();
		p.load(new FileInputStream(new File("resources/test.properties")));
		
		String str1 = p.getProperty("SYS2_SUCC_RSP_CDS");
		String[] rspCds = str1.split(",");
		System.out.println(rspCds.length);
	}
}
